package com.cirkana.data.route;

import com.cirkana.data.DataException;

public interface IRouteDataResolver {

	IRouteDetail newRouteDetail();

	IRouteDetail newRouteDetail(String title, String description, String previewImage);

	IRouteDetailList getRouteDetailList() throws DataException;

	IRouteDetail getRouteDetail(Integer id) throws DataException;

	IRouteDetail insertRouteDetail(IRouteDetail routeDetail) throws DataException;

	IRouteDetail updateRouteDetail(IRouteDetail routeDetail) throws DataException;

	void deleteRouteDetail(IRouteDetail routeDetail) throws DataException;
}
